package com.dpf.player.service;

import com.dpf.common.pojo.R;
import com.dpf.common.pojo.Team;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author dpf
 * @version 1.0
 * @date 2023/3/24 15:08
 * @description
 */
@Component
@FeignClient(value = "SCSTUDYTEAM",fallback = TeamFeignFallBackService.class)
public interface TeamFeignService {

    @GetMapping( "/team/list")
    public R<List<Team>> teamList();
}
